//
//  FSAlertView.h
//  TrigFShop
//
//  Created by lqq on 17/1/23.
//  Copyright © 2017年 szjxmac. All rights reserved.
//

#import <UIKit/UIKit.h>




#define AV    [FSAlertView sharedInstance]
typedef enum{
    AlertTypeSuccess=1,
    AlertTypeError,
    AlertTypeLoading,
    AlertTypeRemind
} AlertType;


@interface FSAlertView : UIView
+ (FSAlertView *)sharedInstance;


- (void)showMessage:(NSString *)message type:(AlertType)alertType;
- (void)showLoading:(NSString *)message;
- (void)showSuccess:(NSString *)message;
- (void)showError:(NSError *)error;
- (void)showErrorMessage:(NSString *)errorMessage;
- (void)showRemind:(NSString *)message;
- (void)hideen;
@end
